package com.lionel.websocket.jna;

import com.sun.jna.Library;
import com.sun.jna.Native;

public interface CLibrary extends Library {
    CLibrary sdtapi = (CLibrary)
            Native.loadLibrary("C:\\Users\\admin\\Desktop\\新建文件夹\\websocket\\src\\main\\resources\\dll\\Sdtapi.dll",
                    CLibrary.class);
    int InitComm(int port);
    int Authenticate();
    int GetSAMIDToStr(byte[] samid);
    int ReadBaseInfos(byte[] Name,byte[] Gender,byte[] Folk,byte[] BirthDay,byte[] Code,byte[] Address,byte[] Agency,byte[] ExpireStart,byte[] ExpireEnd);
    int ReadBaseInfosPhoto(byte[] Name,byte[] Gender,byte[] Folk,byte[] BirthDay,byte[] Code,byte[] Address,byte[] Agency,byte[] ExpireStart,byte[] ExpireEnd,String Dir);
    int HID_BeepLED(boolean  BeepON,boolean  LEDON,int duration);
}
